<%-- 
    Document   : ListarCliente
    Created on : 12/06/2012, 12:16:07 PM
    Author     : tey
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
    </head>
    <body>
        <h1>Registrar cliente</h1>
        <hr>
        <s:form action="listarClientes" method="post">
            <s:submit value="listar"/>
        </s:form>
        <table border="1" width="100%"> 
            <tr>
            <td>Id</td>
            <td>Nombre</td>
            </tr>
        <s:iterator value="%{listaClientes}">
            <tr>
                <td><s:property value="id"/></td>
                <td><s:property value="nombre"/></td>
            </tr>
        </s:iterator>
        </table>
    </body>
</html>
